package com.nulldev.util.uri.yt.extraction.related;

import java.util.Formatter;

public class VideoInfo {
	//Parameters of video
    private String name;
    private String link;
    private String time;
    private String user;
    private String views;

    public VideoInfo(String name, String link, String user, String time, String views) {
        this.name = name;
        this.link = link;
        this.user = user;
        this.time = time;
        this.views = views;
    }

    public String getName() {
        return name;
    }

    public String getID() {
        return link;
    }

    public String getViews() {
        return views;
    }

    public String getUser() {
        return user;
    }

    public String getTime() {
        return time;
    }

    /**
     * Formatting data to the string
     *
     * @return formatted string
     */
    @Override
    public String toString() {
    	return "VideoInfo[name=" + this.name + ",id=" + this.link + ",views=" + this.views + ",user=" + this.user + ",time=" + this.time + "]";
    }

	public void ___setUser(final String author) {
		this.user = author;
	}
}
